package top.lethelh.jianoa.db.dao;

import org.apache.ibatis.annotations.Mapper;
import top.lethelh.jianoa.db.pojo.TbCheckin;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * @Entity top.lethelh.jianoa.db.pojo.TbCheckin
 */
@Mapper
public interface TbCheckinMapper {
    public Integer haveCheckin(HashMap param);
    public void insert(TbCheckin checkin);
    public HashMap searchTodayCheckin(int userId);
    public long searchCheckinDays(int userId);
    public ArrayList<HashMap> searchWeekCheckin(HashMap param);
    public int deleteUserCheckin(int userId);
}




